interface HelloProps {
  msg: string;
}
const Hello = (props: HelloProps) => {
  console.log(props.msg,'props.msg')
  return (
    <div>{props.msg}</div>
  )
}

Hello.props = ['msg']

export default Hello;